import os

paths=[
	"SDKBase/AndroidLibs/src/main/java/com/glee/androidlibs/NativeInfo.java",
	"SDKBase/AndroidLibs/src/main/java/com/glee/androidlibs/SimpleWidgets.java",
	"SDKBase/AndroidLibs/src/main/java/com/glee/androidlibs/life/IActivityEventHandler.java",
]

relative_paths=map(lambda p:"../../SDKBase/"+p,paths)
path_link=" ".join(relative_paths)
cmdline=f"javadoc -public -encoding UTF-8 -charset UTF-8 {path_link} -d ../docs/apidocs"

os.system("rm -rf ../docs/apidocs")
os.system(cmdline)
